<%@ page language="java" contentType="text/html; charset=UTF-8"
		 pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
	<script type="text/javascript">
		<c:if test="${param.msg=='no'}">
		alert("帐号或密码错误，请重新输入!");
		</c:if>
	</script>
</head>
<body>


<form name="loginForm" action="./doLogin" method="post">
	<input name="loginID" type="text" placeholder="请输入登录帐号" required="required"/><br/>
	<input name="loginPWD" type="password" placeholder="请输入密码"/><br/>
	<button type="submit">登录</button>&nbsp;&nbsp;
	<button type="reset">重置</button>
	<a href="reg.jsp">注册</a>
</form>

</body>
</html>